Kjartan Maraas [Mon, 22 Apr 2002 08:42:40 +0000 (08:42 +0000)]
Updated Norwegian (bokmål) translation.
2002-04-22 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian (bokmål) translation.
Christophe Merlet [Mon, 22 Apr 2002 05:28:10 +0000 (05:28 +0000)]
Updated French translation.
Matthias Clasen [Sun, 21 Apr 2002 23:07:49 +0000 (23:07 +0000)]
Fix typo in "Simple Example". (#78661)
* gtk/tree_widget.sgml: Fix typo in "Simple Example". (#78661)
Kwok-Koon Cheung [Sun, 21 Apr 2002 21:50:48 +0000 (21:50 +0000)]
Updated traditional Chinese translation.
Alexander Larsson [Sun, 21 Apr 2002 19:17:58 +0000 (19:17 +0000)]
Save x and y in window_private.
2002-04-21 Alexander Larsson <alla@lysator.liu.se>
* gdk/x11/gdkwindow-x11.c (gdk_window_reparent):
Save x and y in window_private.
* gtk/gtkplug.c (_gtk_plug_add_to_socket):
Move plug window outside the visible area to avoid flashing until
the first size_allocate.
Owen Taylor [Sun, 21 Apr 2002 19:00:52 +0000 (19:00 +0000)]
Add a fake STEPPER function that is used for drawing scrollbar steppers,
Sun Apr 21 14:10:04 2002 Owen Taylor <otaylor@redhat.com>
* pixbuf-rc-style.c pixbuf.h pixbuf-draw.c: Add a fake STEPPER
function that is used for drawing scrollbar steppers,
so that themes that want to draw the button and arrow
separately can override the default handling.
* pixbuf-draw.c: Remove draw_polygon() since it was
just a cut-and-paste of the default one. Remove
some unused code.
Matthias Clasen [Sat, 20 Apr 2002 23:59:48 +0000 (23:59 +0000)]
remove leftover conflict marker.
Matthias Clasen [Sat, 20 Apr 2002 23:57:41 +0000 (23:57 +0000)]
A bunch of trivial doc fixes.
Simos Xenitellis [Sat, 20 Apr 2002 20:05:56 +0000 (20:05 +0000)]
Updated Greek translation
Simos Xenitellis [Sat, 20 Apr 2002 20:04:15 +0000 (20:04 +0000)]
Updated Greek translation
Yuri Syrota [Sat, 20 Apr 2002 19:49:45 +0000 (19:49 +0000)]
Updated Ukrainian translation
Soeren Sandmann [Sat, 20 Apr 2002 19:21:59 +0000 (19:21 +0000)]
add "selected_shadow_type" style property
Sat Apr 20 21:15:11 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkmenuitem.c: add "selected_shadow_type" style property
Owen Taylor [Sat, 20 Apr 2002 16:16:52 +0000 (16:16 +0000)]
Accept NULL for color to mean "unmodify"
Sat Apr 20 12:07:14 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_modify_color_component): Accept
NULL for color to mean "unmodify"
* gtk/gtkwidget.c (gtk_widget_modify_font): Accept NULL for
font_desc to mean "unmodify".
Kristian Rietveld [Sat, 20 Apr 2002 14:45:28 +0000 (14:45 +0000)]
replace GDK_IS_WINDOW with GDK_IS_DRAWABLE in the assert, only check
Sat Apr 20 16:49:26 2002 Kristian Rietveld <kris@gtk.org>
* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_new): replace GDK_IS_WINDOW
with GDK_IS_DRAWABLE in the assert, only check GDK_WINDOW_DESTROYED
if window is a GdkWindow,
(gdk_bitmap_create_from_data): ditto,
(gdk_pixmap_create_from_data): ditto
Kristian Rietveld [Fri, 19 Apr 2002 23:42:53 +0000 (23:42 +0000)]
add bug number
Kristian Rietveld [Fri, 19 Apr 2002 23:41:37 +0000 (23:41 +0000)]
add _gtk_tree_view_column_autosize
Fri Apr 19 23:38:16 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeprivate.h: add _gtk_tree_view_column_autosize
* gtk/gtktreeview.c: privately export _gtk_tree_view_column_autosize,
and add a small note about that function,
(gtk_tree_view_button_press): check for double click and
"not having an autosize" column before autosizing the column,
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_min_width):
call _gtk_tree_view_column_autosize to update autosized column width
(gtk_tree_view_column_set_max_width): ditto
Matthias Clasen [Fri, 19 Apr 2002 23:05:49 +0000 (23:05 +0000)]
Remove some files whose content is either obsolete or has been moved
* TODO, TODO.xml, README.nanox, docs/Changes-1.2.txt,
docs/Changes-2.0.txt, docs/gtk-config.txt, docs/debugging.txt,
gdk/TODO: Remove some files whose content is either obsolete or
has been moved elsewhere.
* Makefile.am, gtk+.spec.in, docs/Makefile.am: Remove references
to these files.
Kristian Rietveld [Fri, 19 Apr 2002 19:26:16 +0000 (19:26 +0000)]
cancel editing if tree_view->priv->edited_column != NULL (fixes #76066)
Fri Apr 19 21:31:04 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_row_changed): cancel editing
if tree_view->priv->edited_column != NULL (fixes #76066)
Kristian Rietveld [Fri, 19 Apr 2002 19:02:26 +0000 (19:02 +0000)]
subtract TREE_VIEW_HEADER_HEIGHT from allocation->height to get the real
Fri Apr 19 21:06:39 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): subtract
TREE_VIEW_HEADER_HEIGHT from allocation->height to get the real
size for the tree (fixes #72729),
(gtk_tree_view_real_start_editing): correct cell_area->y for
scrolling due to gtk_tree_view_real_set_cursor (fixes #75687)
Kristian Rietveld [Fri, 19 Apr 2002 14:31:54 +0000 (14:31 +0000)]
rename last_single_clicked{,_2} to last_button_press{,_2}, as the latter
Fri Apr 19 16:30:09 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeprivate.h, gtk/gtktreeview.c: rename
last_single_clicked{,_2} to last_button_press{,_2}, as the latter
is a more sane name.
* gtk/gtktreeview.c (gtk_tree_view_button_press): use ->priv->anchor
instead of ->priv->cursor, check for the anchor at another place, as
you can go in edit mode without having an anchor.
Matthias Clasen [Thu, 18 Apr 2002 22:04:46 +0000 (22:04 +0000)]
s/<!>/<!-- -->/g throughout the documentation to bring the produced
* gtk/gtkitemfactory.c:
* gtk/gtkiconfactory.c:
* gtk/gtkwidget.c:
* gtk/gtkstyle.c:
* gtk/gtkrc.c:
* gtk/gtktreeviewcolumn.c:
* gtk/gtkdialog.c:
* gtk/gtktreemodel.c: s/<!>/<!-- -->/g throughout the
documentation to bring the produced Docbook closer to XML.
* gdk/tmpl/rgb.sgml:
* gdk/tmpl/general.sgml:
* gtk/tmpl/gtktogglebutton.sgml:
* gtk/tmpl/gtkaccellabel.sgml:
* gtk/tmpl/gtkradiobutton.sgml:
* gtk/tmpl/gtktreemodel.sgml:
* gtk/tmpl/gtkwidget.sgml:
* gtk/tmpl/gtkimage.sgml:
* gtk/tmpl/gtktooltips.sgml:
* gtk/tmpl/gtksignal.sgml:
* gtk/tmpl/gtkcombo.sgml:
* gtk/tmpl/gtkdnd.sgml:
* gtk/tmpl/gtksocket.sgml:
* gtk/tmpl/gtkdrawingarea.sgml:
* gtk/tmpl/gtkobject.sgml:
* gtk/tmpl/gtkpaned.sgml:
* gtk/tmpl/gtkmain.sgml: s/<!>/<!-- -->/g throughout the
documentation to bring the produced Docbook closer to XML.
Tor Lillqvist [Thu, 18 Apr 2002 11:21:21 +0000 (11:21 +0000)]
gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib) Fix typo, thanks to
2002-04-18 Tor Lillqvist <tml@iki.fi>
* gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib)
* gdk/Makefile.am (uninstall-libtool-import-lib): Fix typo,
thanks to David Sterba for noticing.
* gtk/gtkmain.h
* gtk/gtkmain.c (gtk_init_abi_check, gtk_init_check_abi_check): In
GTK+ 2.0 the GtkWindow struct actually is the same size in gcc on
Win32 whether compiled with -fnative-struct or not. Unfortunately
this wan't noticed until now. So, from now on, check some other
struct, too, for which the use of -fnative-struct still
matters. GtkBox is one such.
Kristian Rietveld [Wed, 17 Apr 2002 22:26:44 +0000 (22:26 +0000)]
so this function was completely broken. Fix it and improve readability.
Thu Apr 18 00:23:31 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c
(gtk_tree_model_sort_convert_path_to_child_path): so this function
was completely broken. Fix it and improve readability.
Anders Carlsson [Wed, 17 Apr 2002 21:55:23 +0000 (21:55 +0000)]
Add a small test case.
2002-04-17 Anders Carlsson <andersca@gnu.org>
* tests/testtreeedit.c (button_press_event): Add a small
test case.
Kristian Rietveld [Tue, 16 Apr 2002 22:15:27 +0000 (22:15 +0000)]
fix docs
Wed Apr 17 00:21:36 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreestore.c (gtk_tree_store_insert_before): fix docs
Kristian Rietveld [Tue, 16 Apr 2002 15:25:27 +0000 (15:25 +0000)]
check ->priv->cursor and ->priv->anchor rowrefs before removing
Tue Apr 16 17:28:21 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): check
->priv->cursor and ->priv->anchor rowrefs before removing
node->children from the rbtree. Also check the
->priv->last_single_clicked and ->priv->last_single_clicked_2 rowrefs
(I think I really need to rename those two someday).
Pablo Saratxaga [Tue, 16 Apr 2002 13:23:57 +0000 (13:23 +0000)]
updated Vietnamese file
Valek Frob [Tue, 16 Apr 2002 08:03:50 +0000 (08:03 +0000)]
Updated russian translation.
Tim Janik [Tue, 16 Apr 2002 05:57:45 +0000 (05:57 +0000)]
don't install/change accelerators from locked accel groups.
Tue Apr 16 07:53:49 2002 Tim Janik <timj@gtk.org>
* gtk/gtkmenu.c (gtk_menu_key_press): don't install/change accelerators
from locked accel groups.
* gtk/gtkwidget.c (_gtk_widget_get_accel_path): export whether the
accel path is from a locked accel group.
Jonathan Blandford [Mon, 15 Apr 2002 22:21:30 +0000 (22:21 +0000)]
include internal children when doing focus.
Mon Apr 15 15:41:56 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcontainer.c (gtk_container_focus): include internal
children when doing focus.
(gtk_container_get_all_children): new static function to include
internal children when making a list of them.
Valek Frob [Mon, 15 Apr 2002 07:55:30 +0000 (07:55 +0000)]
Updated russian translation.
Changwoo Ryu [Sun, 14 Apr 2002 15:36:10 +0000 (15:36 +0000)]
Updated Korean translation.
* ko.po: Updated Korean translation.
Kristian Rietveld [Sun, 14 Apr 2002 15:05:04 +0000 (15:05 +0000)]
add _gtk_tree_view_column_get_editable_cell and
Sun Apr 14 16:56:59 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_editable_cell and
_gtk_tree_view_column_get_neighbor_sizes
* gtk/gtktreeviewcolumn.c (struct _GtkTreeViewColumnCellInfo): add
real_width field,
(_gtk_tree_view_column_get_editable_cell): implement,
(gtk_tree_view_column_cell_process_action): fill info->real_width
(_gtk_tree_view_column_get_neighbor_sizes): implement
* gtk/gtktreeview.c (gtk_tree_view_button_press): make the "editable
widget" show up with the same size as the actual cell, so it doesnt
cover the complete column if there are any other cells in that column.
Abigail Brady [Sun, 14 Apr 2002 12:36:12 +0000 (12:36 +0000)]
Fix typo in message.
2002-04-14 Abigail Brady <morwen@fuzzle.org>
* gtk/gtkfilesel.c: Fix typo in message.
* po/en_GB.po: Update British translation.
Havoc Pennington [Sat, 13 Apr 2002 21:14:57 +0000 (21:14 +0000)]
create the target pixbuf AFTER filling in width/height, so that passing in
2002-04-13 Havoc Pennington <hp@pobox.com>
* gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable): create
the target pixbuf AFTER filling in width/height, so that
passing in -1 for width/height will work.
Kristian Rietveld [Sat, 13 Apr 2002 20:48:31 +0000 (20:48 +0000)]
Fixes #75510
Sat Apr 13 22:49:45 2002 Kristian Rietveld <kris@gtk.org>
Fixes #75510
* gtk/gtktreeselection.c (gtk_tree_selection_get_selected): make this
function work correctly and more sane
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): remove
node->children from rbtree before emitting GtkTreeSelection::changed
Sat Apr 13 17:15:12 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_init): dont set
the mode to GTK_CELL_RENDERER_MODE_EDITABLE by default,
(gtk_cell_renderer_text_class_init): for some reason our default for
editable was TRUE, of course this is FALSE.
(gtk_cell_renderer_text_set_property): update mode when editable
has been changed.
jacob berkman [Fri, 12 Apr 2002 21:52:57 +0000 (21:52 +0000)]
fix cut-n-paste bug which breaks big-endian machines (fixes #73585)
2002-04-12 jacob berkman <jacob@ximian.com>
* gdk/x11/xsettings-client.c (fetch_card8): fix cut-n-paste bug
which breaks big-endian machines (fixes #73585)
Havoc Pennington [Fri, 12 Apr 2002 21:52:16 +0000 (21:52 +0000)]
relocate the remove_weak_pointer to just before we free the page, to be
2002-04-12 Havoc Pennington <hp@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_real_remove): relocate the
remove_weak_pointer to just before we free the page, to be sure
it doesn't get re-added. #75282
Kristian Rietveld [Fri, 12 Apr 2002 16:32:39 +0000 (16:32 +0000)]
add clamp_node argument (toplevel): update usages of
Fri Apr 12 18:32:46 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_real_set_cursor): add
clamp_node argument
(toplevel): update usages of gtk_tree_view_real_set_cursor,
(gtk_tree_view_focus_to_cursor): don't let
gtk_tree_view_real_set_cursor clamp the node, so you won't get
unexpected scrolling
Michael Meeks [Fri, 12 Apr 2002 12:43:01 +0000 (12:43 +0000)]
add freeze / thaws to stop deluge of 'notify' signals.
2002-04-11 Michael Meeks <michael@ximian.com>
* gtk/gtklabel.c
(gtk_label_parse_uline, gtk_label_set_text),
(gtk_label_set_text_with_mnemonic): add freeze / thaws
to stop deluge of 'notify' signals.
Matthias Clasen [Thu, 11 Apr 2002 21:18:40 +0000 (21:18 +0000)]
More fixes for #77807:
* io-tga.c (get_contiguous_pixbuf): Helper function to create
a pixbuf with a contiguous pixel array while being careful about
overflow.
* io-tga.c (fill_in_context, get_image_pseudocolor,
get_image_truecolor, get_image_grayscale): Use
get_contiguous_pixbuf instead of manually allocating image
storage.
* io-xpm.c (pixbuf_create_from_xpm):
* io-pnm.c (gdk_pixbuf__pnm_image_load):
* io-jpeg.c (gdk_pixbuf__jpeg_image_load): Use gdk_pixbuf_new
instead of manually allocating image storage.
Christophe Merlet [Thu, 11 Apr 2002 19:46:52 +0000 (19:46 +0000)]
Updated French translation.
Owen Taylor [Thu, 11 Apr 2002 14:28:11 +0000 (14:28 +0000)]
Export private _gtk_menu_shell_activate() to encapsulate cut-and-paste
Sat Apr 6 06:57:00 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenushell.[ch] gtk/gtkmenuitem.c: Export
private _gtk_menu_shell_activate() to encapsulate
cut-and-paste code.
* gtk/gtkmenubar.c: Select the first item on the menu bar
for F10 rather than acting as if the user pressed <Alt>F
to select the file manager.
Stanislav Visnovsky [Wed, 10 Apr 2002 14:54:08 +0000 (14:54 +0000)]
Updated Slovak translation.
2002-04-10 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* sk.po: Updated Slovak translation.
Owen Taylor [Tue, 9 Apr 2002 23:32:35 +0000 (23:32 +0000)]
Fix problems with HandleBox and focusing - #78232
Tue Apr 9 19:01:28 2002 Owen Taylor <otaylor@redhat.com>
Fix problems with HandleBox and focusing - #78232
* gtk/gtkwidget.c (gtk_widget_translate_coordinates): Handle
GtkHandleBox / GnomeDock style window heirarchy / widget
heirarchy disconnects. :-(.
* gtk/gtkcontainer.c: Handle failures from
gtk_widget_translate_coordinates (Focusing is not right, but at
least it doesn't go into infinite loops.)
Owen Taylor [Tue, 9 Apr 2002 22:41:37 +0000 (22:41 +0000)]
Always set the ALLOC_NEEDED and REQUEST_NEEDED flags up the hierarchy,
Tue Apr 9 18:34:58 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.c (_gtk_container_queue_resize): Always
set the ALLOC_NEEDED and REQUEST_NEEDED flags up the hierarchy,
even if we aren't currently in a resize container... we need
this to properly handle size changes to widgets that are
being moved from one heirarchy to another. (#78226)
Kristian Rietveld [Tue, 9 Apr 2002 19:48:32 +0000 (19:48 +0000)]
Fixes #78110
Tue Apr 9 21:41:24 2002 Kristian Rietveld <kris@gtk.org>
Fixes #78110
* gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
add override_browse_mode argument and implement,
(gtk_tree_selection_unselect_path): always unselect the path,
(toplevel): update uses of _gtk_tree_selection_internal_select_node
* gtk/gtktreeview.c: update uses of
_gtk_tree_selection_internal_select_node
* gtk/gtktreeprivate.h (_gtk_tree_selection_internal_select_node):
update prototype
Tue Apr 9 21:39:44 2002 Kristian Rietveld <kris@gtk.org>
Fixes #77862
* gtk/gtktreeprivate.h: add _gtk_tree_view_column_has_editable_cell
* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_has_editable_cell):
new function
* gtk/gtktreeview.c (gtk_tree_view_button_press): send cell event
on first click when cell isn't editable
Tue Apr 9 21:37:31 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreedatalist.c (_gtk_tree_data_list_check_type): add some
types which were missing and useful to use (fixes #77870)
Anders Carlsson [Tue, 9 Apr 2002 12:05:37 +0000 (12:05 +0000)]
Initialize error to NULL.
002-04-09 Anders Carlsson <andersca@gnu.org>
* gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL.
Matthias Clasen [Tue, 9 Apr 2002 00:38:38 +0000 (00:38 +0000)]
Use priv->image_module->module_name instead of image_type which may be
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module): Use
priv->image_module->module_name instead of image_type which may
be NULL.
Manish Singh [Mon, 8 Apr 2002 19:32:38 +0000 (19:32 +0000)]
really revert testgtk.c
2002-04-08 Manish Singh <yosh@gimp.org>
* tests/testgtk.c: really revert testgtk.c
Kristian Rietveld [Mon, 8 Apr 2002 17:42:45 +0000 (17:42 +0000)]
check the return value of _gtk_tree_view_find_node and return if it's
Mon Apr 8 20:28:54 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeselection.c (gtk_tree_selection_select_path),
(gtk_tree_selection_unselect_path),
(gtk_tree_selection_path_is_selected): check the return value of
_gtk_tree_view_find_node and return if it's TRUE. This makes those
functions work somewhat saner on non-expanded trees.
Christophe Merlet [Mon, 8 Apr 2002 07:58:03 +0000 (07:58 +0000)]
Updated French translation.
Matthias Clasen [Sat, 6 Apr 2002 18:51:40 +0000 (18:51 +0000)]
Restructured to use gdk_pixbuf_new instead of manually allocating image
* io-png.c (gdk_pixbuf__png_image_load): Restructured to use
gdk_pixbuf_new instead of manually allocating image storage. This
gives us a good rowstride and overflow checks. (#77807)
Ole Laursen [Sat, 6 Apr 2002 13:57:47 +0000 (13:57 +0000)]
Updated Danish translation.
2002-04-06 Ole Laursen <olau@hardworking.dk>
* da.po: Updated Danish translation.
Chyla Zbigniew [Sat, 6 Apr 2002 10:12:14 +0000 (10:12 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>
Matthias Clasen [Fri, 5 Apr 2002 21:02:07 +0000 (21:02 +0000)]
Avoid allocating an extra copy of the image by using a
* io-tiff.c (tiff_image_parse): Avoid allocating an extra copy of
the image by using a TIFFRGBAImage{Begin,Get,End} with suitable
put functions instead of TIFFRGBAImage. And check image dimensions
for overflow.
Hasbullah Bin Pit [Fri, 5 Apr 2002 18:41:18 +0000 (18:41 +0000)]
Updated Malay Translation.
2002-04-05 Hasbullah Bin Pit <sebol@ikhlas.com>
* ms.po: Updated Malay Translation.
Kristian Rietveld [Fri, 5 Apr 2002 16:28:14 +0000 (16:28 +0000)]
free anchor row reference after unselecting the selection (fixes #76272)
Fri Apr 5 18:28:56 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeselection.c (gtk_tree_selection_set_mode): free
anchor row reference after unselecting the selection (fixes #76272)
Fri Apr 5 18:27:48 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_real_expand_row): only return
when we don't have to open all children (fixes #75736)
Fri Apr 5 18:24:24 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_clear): unref
cellrenderer after clearing the attributes of the renderer (fixes
#75592)
Jonathan Blandford [Fri, 5 Apr 2002 16:11:32 +0000 (16:11 +0000)]
implement. (gtk_tree_view_move_cursor_up_down): check for focus
Fri Apr 5 05:55:14 2002 Jonathan Blandford <jrb@gnome.org>
* gtk/gtktreeview.c (gtk_tree_view_grab_focus): implement.
(gtk_tree_view_move_cursor_up_down): check for focus
(gtk_tree_view_move_cursor_page_up_down): ditto
(gtk_tree_view_move_cursor_left_right): ditto
(gtk_tree_view_move_cursor_start_end): ditto
(gtk_tree_view_real_select_all): ditto
(gtk_tree_view_real_unselect_all): ditto
(gtk_tree_view_real_select_cursor_row): ditto
(gtk_tree_view_real_toggle_cursor_row): ditto
(gtk_tree_view_real_expand_collapse_cursor_row): ditto
(gtk_tree_view_real_select_cursor_parent): ditto
(gtk_tree_view_real_start_interactive_search): ditto
* gtk/gtktreeviewcolumn.c: grab focus
Yuri Syrota [Fri, 5 Apr 2002 16:11:01 +0000 (16:11 +0000)]
Updated Ukrainian translation
Sven Neumann [Fri, 5 Apr 2002 15:49:42 +0000 (15:49 +0000)]
removed gdkkeysyms.h from .cvsignore
Alex Larsson [Fri, 5 Apr 2002 15:11:00 +0000 (15:11 +0000)]
Fix undefined variable typo. Patch from Simon Floery <simon.floery@gmx.at>
2002-04-05 Alex Larsson <alexl@redhat.com>
* gdk/linux-fb/gdkkeyboard-fb.c (write_string):
Fix undefined variable typo.
Patch from Simon Floery <simon.floery@gmx.at>
Tim Janik [Thu, 4 Apr 2002 23:10:58 +0000 (23:10 +0000)]
fix segfault upon NULL return from gdk_utf8_to_string_target().
Fri Apr 5 01:06:15 2002 Tim Janik <timj@gtk.org>
* gdk/x11/gdkwindow-x11.c (set_text_property): fix segfault
upon NULL return from gdk_utf8_to_string_target().
* gdk/x11/gdkselection-x11.c (gdk_utf8_to_string_target): fix
return value comment to mention NULL returns upon EMFILE.
Soeren Sandmann [Thu, 4 Apr 2002 20:49:03 +0000 (20:49 +0000)]
revert accidentally commited change to testgtk.c
Thu Apr 4 22:35:42 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* tests/testgtk.c (menu_items): revert accidentally commited
change to testgtk.c
Soeren Sandmann [Thu, 4 Apr 2002 20:28:47 +0000 (20:28 +0000)]
Fix problem with menu titles being clipped (#75948)
Thu Apr 4 22:28:08 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkmenuitem.c (gtk_menu_item_paint): Fix problem with menu
titles being clipped (#75948)
Tor Lillqvist [Thu, 4 Apr 2002 20:23:56 +0000 (20:23 +0000)]
Fix some bugs, and introduce a minor feature.
2002-04-04 Tor Lillqvist <tml@iki.fi>
* gdk/gdkrgb.c: Fix some bugs, and introduce a minor feature.
(gdk_rgb_convert_4_pack): New function, for 16-color (4 bits per
pixel) static visuals (fixes #858).
(gdk_rgb_convert_gray4_pack, gdk_rgb_convert_gray4_d_pack): Fix
same bugs in both functions: Odd start coordinate (partial byte)
was not handled correctly. Also a partial final byte was not
handled correctly.
(gdk_rgb_do_colormaps): Use G_N_ELEMENTS.
(gdk_rgb_create_info): For pseudocolor visuals, use the 2x2x2
colorcube only for depths 3 and 4. For static color, use it for
depths 3..7 like before. (Depth 5..7 pseudocolor probably never
occurs on X11. It doesn't normally occur on Win32 either, but
there is experimental code in gdkvisual-win32.c to let the user
restrict the size of palette used.)
(gdk_rgb_init): Set gdk_rgb_verbose if the GDK_DEBUG_GDKRGB flag
is set.
(gdk_rgb_select_conv): Use gdk_rgb_convert_8 also for depths 5, 6
and 7 (see above). Use gdk_rgb_convert_4_pack for 4 bits per pixel
static color.
Matthias Clasen [Wed, 3 Apr 2002 18:17:14 +0000 (18:17 +0000)]
Fix a doc typo.
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_get_type): Fix a doc typo.
Changwoo Ryu [Wed, 3 Apr 2002 17:03:27 +0000 (17:03 +0000)]
Updated Korean translation.
* ko.po: Updated Korean translation.
Tõivo Leedjärv [Tue, 2 Apr 2002 22:46:31 +0000 (22:46 +0000)]
Updated Estonian translation.
2002-04-02 Tõivo Leedjärv <toivo@linux.ee>
* et.po: Updated Estonian translation.
Jonathan Blandford [Tue, 2 Apr 2002 16:19:33 +0000 (16:19 +0000)]
set the sort_func correctly, 77030
Tue Apr 2 11:10:13 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_set_sort_func): set the
sort_func correctly, 77030
Tim Janik [Tue, 2 Apr 2002 12:10:57 +0000 (12:10 +0000)]
update version to 2.0.2, binary age 2, interface age 2.
Tue Apr 2 13:44:27 2002 Tim Janik <timj@gtk.org>
* configure.in: update version to 2.0.2, binary age 2, interface
age 2.
* NEWS: updates for 2.0.2.
Duarte Loreto [Mon, 1 Apr 2002 23:40:19 +0000 (23:40 +0000)]
Updated Portuguese translation.
2002-04-02 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
Christian Rose [Mon, 1 Apr 2002 22:32:33 +0000 (22:32 +0000)]
Added missing file. Updated Swedish translation.
2002-04-02 Christian Rose <menthos@menthos.com>
* POTFILES.in: Added missing file.
* sv.po: Updated Swedish translation.
Kristian Rietveld [Mon, 1 Apr 2002 20:40:58 +0000 (20:40 +0000)]
add check for y > tree_view->priv->height (fixes #76974)
Mon Apr 1 22:20:24 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): add
check for y > tree_view->priv->height (fixes #76974)
Mon Apr 1 22:19:39 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): get
the stamp changes right this time
Mon Apr 1 22:13:24 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodel.c (gtk_tree_row_reference_free): only
disconnect the ref callbacks when model == proxy (Thanks go to
Manuel Clos Crespo for the remote debugging)
Valek Frob [Mon, 1 Apr 2002 07:38:27 +0000 (07:38 +0000)]
Updated russian translation.
Valek Frob [Mon, 1 Apr 2002 07:37:29 +0000 (07:37 +0000)]
Updated russian trqnslation.
Changwoo Ryu [Mon, 1 Apr 2002 03:44:16 +0000 (03:44 +0000)]
Updated Korean translation.
* ko.po: Updated Korean translation.
Owen Taylor [Sat, 30 Mar 2002 20:52:42 +0000 (20:52 +0000)]
recommit after tagging 2_0_1
Owen Taylor [Sat, 30 Mar 2002 20:51:19 +0000 (20:51 +0000)]
revert change for tagging 2_0_1
Owen Taylor [Sat, 30 Mar 2002 20:46:14 +0000 (20:46 +0000)]
===== Released 2.0.1 ======
Fri Mar 29 18:15:12 2002 Owen Taylor <otaylor@redhat.com>
* ===== Released 2.0.1 ======
Kristian Rietveld [Sat, 30 Mar 2002 14:15:28 +0000 (14:15 +0000)]
revert the latest stamp increment changes, as it broke stuff for trees
Sat Mar 30 15:19:24 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c: revert the latest stamp increment changes,
as it broke stuff for trees
Owen Taylor [Fri, 29 Mar 2002 23:15:03 +0000 (23:15 +0000)]
Call gdk_keyval_to_lower() on the key passed in, since we lowercase all
Fri Mar 29 18:09:18 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkaccelgroup.c (gtk_accel_group_query): Call
gdk_keyval_to_lower() on the key passed in, since we
lowercase all other key vals passed in, so querying
keyvals will otherwise fail if the caller used
an uppercase accelerators (#76899, Vitaly Tishkov)
Owen Taylor [Fri, 29 Mar 2002 23:05:11 +0000 (23:05 +0000)]
Fix screwup in handling of module path that was resulting in freed memory
Fri Mar 29 17:41:21 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (load_modules): Fix screwup in handling
of module path that was resulting in freed memory being
accessed when both GTK_MODULES and a theme were set.
(#76902, Johan Dahlin)
Owen Taylor [Fri, 29 Mar 2002 23:00:41 +0000 (23:00 +0000)]
Fix wrong stock id's for ADD/REMOVE. (#76915, Vitaly Tishkov)
Fri Mar 29 17:57:36 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkiconfactory.c (get_default_icons): Fix wrong
stock id's for ADD/REMOVE. (#76915, Vitaly Tishkov)
Hans Breuer [Fri, 29 Mar 2002 22:38:17 +0000 (22:38 +0000)]
fix typo in gtk_init_check macro, which caused crashes if argc != 0
2002-03-29 Hans Breuer <hans@breuer.org>
* gtk/gtkmain.h : fix typo in gtk_init_check macro, which
caused crashes if argc != 0
* gtk/stock-icons/makefile.msc : added new icons
Matthias Clasen [Fri, 29 Mar 2002 21:40:01 +0000 (21:40 +0000)]
libpng error handlers must not return to their callers, thus longjmp out.
* io-png.c (png_simple_error_callback): libpng error handlers must
not return to their callers, thus longjmp out. This prevents
annoying stderr output from the default error handler.
Kristian Rietveld [Fri, 29 Mar 2002 19:14:02 +0000 (19:14 +0000)]
remove call to gtk_tree_model_sort_increment_stamp
Fri Mar 29 20:17:35 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered):
remove call to gtk_tree_model_sort_increment_stamp
(gtk_tree_model_sort_sort_level): always increment the stamp
Owen Taylor [Fri, 29 Mar 2002 06:23:35 +0000 (06:23 +0000)]
Updates
Fri Mar 29 00:19:41 2002 Owen Taylor <otaylor@redhat.com>
* NEWS: Updates
* configure.in: Version 2.0.1, binary, interface age 1.
* configure.in (GDK_PIXBUF_VERSION): Up required versions
of dependencies.
* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
Add stock_add/remove_16.
Owen Taylor [Fri, 29 Mar 2002 00:15:11 +0000 (00:15 +0000)]
Don't show the window unless the widget is mapped. (#76742, Dennis
Thu Mar 28 18:38:30 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate):
Don't show the window unless the widget is mapped.
(#76742, Dennis Björklund, Soeren Sandmann)
Hans Breuer [Thu, 28 Mar 2002 23:25:33 +0000 (23:25 +0000)]
Fixed dashed line issues (#74441) to an IMO reasonable extend. That is:
2002-03-29 Hans Breuer <hans@breuer.org>
Fixed dashed line issues (#74441) to an IMO reasonable extend.
That is: use PS_USERSTYLE on WinNT (the next GDI limit appears
to be with lines width > 50); Render horizontal and vertical
dashed lines on Win9x 'by hand'. Dotted selection rectangles
and Dia look nice ...
* gdk/win32/gdkprivate-win32.h : add pen_dashes pointer and
num_pen_dashes to _GdkGCWin32
* gdk/win32/gdkgc-win32.c : initialize pen_dashes and remove
the guesses from dashes to windoze line styles.
(predraw_set_forground) : always ExtCreatePen (PS_SOLID) on
Win9x, which does not support PS_USERSTYLE.
* gdk/win32/gdkdrawable-win32.c : new functions render_line_
<horizontal|vertical>. Use them if not running on NT in
gdk_win32_draw_<rectangle|segments|lines> ()
* gdk/win32/gdkkeys-win32.c (gdk_keyval_name) : return NULL
for keyval == 0 to avoid to have zeros in all menu entries
without accelerator.
Kjartan Maraas [Thu, 28 Mar 2002 23:22:34 +0000 (23:22 +0000)]
Updated Norwegian (bokmål) translation.
2002-03-28 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian (bokmål) translation.
Jakub Steiner [Thu, 28 Mar 2002 23:08:49 +0000 (23:08 +0000)]
new add, remove stock icons
Tim Janik [Thu, 28 Mar 2002 20:08:25 +0000 (20:08 +0000)]
when encountering non-UTF-8 file names, alert the user with g_message()
Thu Mar 28 21:11:04 2002 Tim Janik <timj@gtk.org>
* gtk/gtkfilesel.c (open_new_dir): when encountering non-UTF-8 file
names, alert the user with g_message() instead of g_warning() and
put out the actual conversion error.
Ole Laursen [Thu, 28 Mar 2002 18:50:34 +0000 (18:50 +0000)]
Updated Danish translation.
2002-03-28 Ole Laursen <olau@hardworking.dk>
* da.po: Updated Danish translation.
Dave Camp [Thu, 28 Mar 2002 17:05:34 +0000 (17:05 +0000)]
Don't install the handler if the widget isn't realized.
2002-03-28 Dave Camp <dave@ximian.com>
* gtk/gtktreeview.c (install_scroll_sync_handler): Don't install
the handler if the widget isn't realized.
Jakub Steiner [Thu, 28 Mar 2002 13:10:11 +0000 (13:10 +0000)]
New font and text icons to solve the dark-theme-problem
Changwoo Ryu [Thu, 28 Mar 2002 10:06:59 +0000 (10:06 +0000)]
Updated Korean translation.
* ko.po: Updated Korean translation.
Matthias Clasen [Wed, 27 Mar 2002 22:53:22 +0000 (22:53 +0000)]
Try to find libpng via pkg-config first, since libpng-1.2.2 will come with
* configure.in: Try to find libpng via pkg-config first,
since libpng-1.2.2 will come with a .pc file.
Matthias Clasen [Wed, 27 Mar 2002 22:12:05 +0000 (22:12 +0000)]
Don't leak info_ptr.
* io-png.c (gdk_pixbuf__png_image_stop_load): Don't leak info_ptr.
* io-png.c (gdk_pixbuf__png_image_load): Get rid of unused
end_info. Also call png_read_end to check proper ending of the png
file and catch text chunks after the image data.
Owen Taylor [Wed, 27 Mar 2002 16:46:42 +0000 (16:46 +0000)]
changelog update